package com.jiyun.h2303b.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("h2303b-cloud-order")
public interface OrderFeignService {


    @RequestMapping("order/create")
    public void create(@RequestParam("userId") int userId,@RequestParam("commodityCode") String commodityCode,@RequestParam("count") int count);
}
